//
//  AvtivityTableViewCell.m
//  ManyCollectionView
//
//  Created by apple on 16/7/13.
//  Copyright © 2016年 apple. All rights reserved.
//
#define WIDTH [[UIScreen mainScreen] bounds].size.width
#define HEIGHT [[UIScreen mainScreen] bounds].size.height
#import "AvtivityTableViewCell.h"

@implementation AvtivityTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.whiteView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, WIDTH, 130)];
        self.whiteView.backgroundColor = [UIColor whiteColor];
        self.midImg = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, WIDTH - 10, 120)];
        self.midImg.backgroundColor = [UIColor cyanColor];
        
        [self.contentView addSubview:self.whiteView];
        [self.contentView addSubview:self.midImg];
        
        
        
        
    }
    return self;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
